
cc.o:     file format elf32-littlearm


Disassembly of section .text:

00000000 <main>:
    int a;
    int b;
};

int main()
{
   0:	e92d4800 	push	{fp, lr}
   4:	e28db004 	add	fp, sp, #4
   8:	e24dd010 	sub	sp, sp, #16
    struct demo * ptr = &(struct demo){};
   c:	e3a03000 	mov	r3, #0          ; r3 = 0
  10:	e50b3010 	str	r3, [fp, #-16]  ; [fp-16] = 0
  14:	e3a03000 	mov	r3, #0
  18:	e50b300c 	str	r3, [fp, #-12] ; [fp-12] = 0
  1c:	e24b3010 	sub	r3, fp, #16
  20:	e50b3008 	str	r3, [fp, #-8] ; [fp-8] = ptr
    ptr->a = 3, ptr->b =4; 
  24:	e51b3008 	ldr	r3, [fp, #-8] ; ptr
  28:	e3a02003 	mov	r2, #3        ; r2 = 3
  2c:	e5832000 	str	r2, [r3]      ; *ptr->a = 3
  30:	e51b3008 	ldr	r3, [fp, #-8] ; ptr
  34:	e3a02004 	mov	r2, #4        ; r2 =  4
  38:	e5832004 	str	r2, [r3, #4]  ; *ptr->b = 4
    printf("%d,%d\n",ptr->a, ptr->b);
  3c:	e51b3008 	ldr	r3, [fp, #-8] ; ptr
  40:	e5931000 	ldr	r1, [r3]      ; ptr->a
  44:	e51b3008 	ldr	r3, [fp, #-8] ; ptr
  48:	e5933004 	ldr	r3, [r3, #4]  ; [ptr+4] = ptr->b
  4c:	e1a02003 	mov	r2, r3        ; r2 = ptr->b
  50:	e59f0010 	ldr	r0, [pc, #16]	; 68 <main+0x68>
  54:	ebfffffe 	bl	0 <printf>
    return 0;
  58:	e3a03000 	mov	r3, #0
}
  5c:	e1a00003 	mov	r0, r3
  60:	e24bd004 	sub	sp, fp, #4
  64:	e8bd8800 	pop	{fp, pc}
  68:	00000000 	.word	0x00000000
